Constructors
Link copied to clipboard
constructor(@Nullable icon: IconCompat, @Nullable title: CharSequence, @Nullable intent: PendingIntent)
Construct a new builder for Action object.
Construct a new builder for Action object.
Functions
Link copied to clipboard
Add an input to be collected from the user when this action is sent.
Link copied to clipboard
Combine all of the options that have been set and return a new Action object.
Link copied to clipboard
open fun extend(@NonNull extender: NotificationCompat.Action.Extender): NotificationCompat.Action.Builder
Apply an extender to this action builder.
Link copied to clipboard
Creates a Builder from an android.app.Notification.Action.
Link copied to clipboard
open fun setAllowGeneratedReplies(allowGeneratedReplies: Boolean): NotificationCompat.Action.Builder
Set whether the platform should automatically generate possible replies to add to getChoices.
Link copied to clipboard
open fun setAuthenticationRequired(authenticationRequired: Boolean): NotificationCompat.Action.Builder
From API 31, sets whether the OS should only send this action's PendingIntent on an unlocked device.
Link copied to clipboard
Sets whether this Action is a contextual action, i.e.
Link copied to clipboard
Sets the SemanticAction for this Action.
Link copied to clipboard
Set whether or not this Action's PendingIntent will open a user interface.